<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="StyleSheet" href="../css/jpetstore.css" type="text/css" media="screen"/>
</head>
<body>
    <header th:replace="common/IncludeTop"></header>
    <div id="Content">
        <div id="Catalog">
            <form th:action="@{/order/newOrder?shippingAddressRequired=}+${shippingAddressRequired}" method="post">

                <table>
                    <tbody>
                    <tr>
                        <th colspan="2">支付细节：</th>
                    </tr>
                    <tr>
                        <td>支付类型</td>
                        <td><select name="order.cardType" th:text="${session.order.cardType}">
                            <option selected="selected" value="bankcard">银行卡</option>
                        </select></td>
                    </tr>
                    <tr>
                        <td>银行卡号：</td>
                        <td><input name="order.creditCard" type="text" placeholder="必填" th:value="${session.order.creditCard}"/> * Use a fake
                            number!
                        </td>
                    </tr>
                    <tr>
                        <th colspan="2">账单地址信息</th>
                    </tr>

                        <tr>
                            <td>用户名称：</td>
                            <td><input name="order.shipToName" disabled="disabled" th:value="${session.order.shipToName}" type="text"></td>
                        </tr>
                        <tr>
                            <td>地址1:</td>
                            <td><input name="order.shipAddress1" th:value="${session.order.shipAddress1}" type="text" size="40">
                            </td>
                        </tr>
                        <tr>
                            <td>地址2:</td>
                            <td><input name="order.shipAddress2" th:value="${session.order.shipAddress2}" type="text" size="40">
                            </td>
                        </tr>
                        <tr>
                            <td>城市：</td>
                            <td><input name="order.shipCity" th:value="${order.shipCity}" type="text"></td>
                        </tr>
                        <tr>
                            <td>国家：</td>
                            <td><input name="order.shipCountry" th:value="${order.shipCountry}" type="text" size="15">
                            </td>
                        </tr>


                        <tr>
                            <td>用户名称：</td>
                            <td><input name="order.billToName" disabled="disabled" th:value="${order.billToName}" type="text"></td>
                        </tr>
                        <tr>
                            <td>地址1:</td>
                            <td><input name="order.billAddress1" th:value="${order.billAddress1}" type="text" size="40">
                            </td>
                        </tr>
                        <tr>
                            <td>地址2:</td>
                            <td><input name="order.billAddress2" th:value="${order.billAddress2}" type="text" size="40">
                            </td>
                        </tr>
                        <tr>
                            <td>城市：</td>
                            <td><input name="order.billCity" th:value="${order.billCity}" type="text"></td>
                        </tr>
                        <tr>
                            <td>国家：</td>
                            <td><input name="order.billCountry" th:value="${order.billCountry}" type="text" size="15">
                            </td>
                        </tr>

                    <tr>
                        <td colspan="2"><input name="shippingAddressRequired" id="shippingAddressRequired" th:value="${shippingAddressRequired}" type="checkbox">
                            其他邮寄地址...
                        </td>
                    </tr>

                    </tbody>
                </table>
                <input name="newOrder" value="Continue" type="submit">
            </form>
        </div>
    </div>
    <footer th:replace="common/IncludeBottom"></footer>
</body>
</html>